/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.z100h.supplychain.core.biz.entity;

import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;

/**
 * 产品资源Entity
 * @author madara
 * @version 2019-01-04
 */
public class Resource extends DataEntity<Resource> {

	private static final long serialVersionUID = 1L;

	private String skuId; // 供应链产品id

	private String warehouseId; // 仓库id

	private String evidenceId; // 类型

	private String resourcesCode; // 编码code

	private Integer evidenceLock; // 凭据锁

	private Integer stockoutLock; // 出库锁

	private Integer stockoutType; // 出库类型

	private String erpResId;

	public Resource() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public Resource(String id) {
		super(id);
	}

	@ExcelField(title = "供应链产品id", align = 2, sort = 7)
	public String getSkuId() {
		return skuId;
	}

	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	@ExcelField(title = "仓库id", align = 2, sort = 8)
	public String getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(String warehouseId) {
		this.warehouseId = warehouseId;
	}

	@ExcelField(title = "类型", align = 2, sort = 9)
	public String getEvidenceId() {
		return evidenceId;
	}

	public void setEvidenceId(String evidenceId) {
		this.evidenceId = evidenceId;
	}

	@ExcelField(title = "编码code", align = 2, sort = 10)
	public String getResourcesCode() {
		return resourcesCode;
	}

	public void setResourcesCode(String resourcesCode) {
		this.resourcesCode = resourcesCode;
	}

	@Override
	@ExcelField(title = "公司id", align = 2, sort = 11)
	public String getCompanyId() {
		return companyId;
	}

	@Override
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	@Override
	@ExcelField(title = "部门id", align = 2, sort = 12)
	public String getDepartmentId() {
		return departmentId;
	}

	@Override
	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	@Override
	@ExcelField(title = "岗位id", align = 2, sort = 13)
	public String getStationId() {
		return stationId;
	}

	@Override
	public void setStationId(String stationId) {
		this.stationId = stationId;
	}

	@ExcelField(title = "凭据锁", align = 2, sort = 14)
	public Integer getEvidenceLock() {
		return evidenceLock;
	}

	public void setEvidenceLock(Integer evidenceLock) {
		this.evidenceLock = evidenceLock;
	}

	public Integer getStockoutLock() {
		return stockoutLock;
	}

	public void setStockoutLock(Integer stockoutLock) {
		this.stockoutLock = stockoutLock;
	}

	public Integer getStockoutType() {
		return stockoutType;
	}

	public void setStockoutType(Integer stockoutType) {
		this.stockoutType = stockoutType;
	}

	public String getErpResId() {
		return erpResId;
	}

	public void setErpResId(String erpResId) {
		this.erpResId = erpResId;
	}

}